package com.example.demo.entity;


import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * User类,对应数据库的user1表
 * 与role1为多对一的关系
 * User为维护方
 * @author lenovn
 *
 */
@Data
public class User implements Serializable{

    /**
	 * 
	 */
	private static final long serialVersionUID = -3535037405159946397L;

	private Integer uid;
	
    private String uname;
    
    private String password;
    
    private String loname;
    
    private String email;
    
    private String uuid;
    
    private String lastlogintime;
    
    private String registertime;
    
    private Integer rid;
	
	private Role role;
	
	
}
